package com.atstudy.dao;

import com.atstudy.entites.Account;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2023/2/10 16:13
 * @copyright: 博为峰
 */
@Repository("accountDao")
public class AccountDaoImpl implements AccountDao {
    @Override
    public List<Account> selectAccountList() {
        System.out.println("查询账户列表");
        int i = 1 / 0;
        return new ArrayList<Account>();
    }

    @Override
    public int insertAccount() {
        System.out.println("添加账户成功");
        return 1;
    }
}
